class AdminController < ApplicationController
  before_action :authenticate_admin!

  def home
  end

  private

  def authenticate_admin!
    current_user.amdmin?
  end

end
